* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html,body {
    width: 100vw;
    height: 100vh;
    background-color: #eafdff;
    font-size: 16px;
}

#app {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#app .loader {
    position: relative;
    width: 10rem;
    height: 10rem;
    margin: 10rem;
}

.loader.one span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    background-color: #5989ff;
    border-radius: 50%;
    animation: ani 2s linear infinite;
}

.loader.one span:nth-of-type(2) {
    background: rgba(56,109,241, 0.05);
    backdrop-filter: blur(0.8rem);
    border: 0.1rem solid rgba(255,255,255,0.1);
    animation-delay: -1s;
}

@keyframes ani {
    0%, 100% {
        transform: translateX(-5rem);
    }
    50% {
        transform: translateX(5rem);
    }
}

.loader.one span:before,
.loader.two span:nth-of-type(1)::before{
    content: '';
    position: absolute;
    bottom: -8rem;
    left: -20%;
    width: 140%;
    height: 2.5rem;
    border-radius: 50%;
    /*background-color: #00ff0a;*/
    background: radial-gradient(rgba(0,0,0,0.04), transparent, transparent);
}


.loader.two {
    position: relative;
    width: 10rem;
    height: 10rem;
}

.loader.two span:nth-of-type(1) {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
    background-color: rgba(233,30,99,0.05);
    border-radius: 50%;
    backdrop-filter: blur(0.8rem);
    border: 0.1rem solid rgba(255,255,255,0.1);
    z-index: 2;
}

.loader.two span:nth-of-type(2) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    z-index: 1;
    overflow: hidden;
    animation: ani-circle 2s linear infinite;
}

@keyframes ani-circle {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader.two span:nth-of-type(2):before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background-color: #ff6198;
}